/* profilmal:  https://steinsvik.sharepoint.com/sites/moenmarin/salgogteknisk/Forms/AllItems.aspx?id=%2Fsites%2Fmoenmarin%2Fsalgogteknisk%2F12%20MALER%2FMM%5Fprofilmanual%5F5%2E0%2Epdf&parent=%2Fsites%2Fmoenmarin%2Fsalgogteknisk%2F12%20MALER  */
html, body {
    width: 100vw;
    margin: 0;
    padding: 0;
    color:  rgba(0,45,91,1);
    overflow-x: hidden;
    min-height: 100vh;
}

a {
  color:  rgba(0,45,91,1);
  transition: 0.1s;
}
a:hover {

  color:  rgba(0,45,91,0.7);
}

html, body, h1, h2, p, h3, h4, h5, h6 , div{
    font-family: muli, Verdana, sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

h2 {
    color: #112045; /* Moen standard */
    font-family: muli, sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* ul {
    padding-left: 15px;
} */
br {
    line-height: 5px;
}

/* index styiling */

.indexButton{
    font-size: large;
}


/* Ny Spek styling */

.uncheckBtn{
  padding: 6px 15px;
  background-color: inherit;
  border: none;
  transition: 0.2s;
  font-weight: 700;
  font-size: 125%;
  color:  rgba(0,45,91,1);
  border:rgba(0,45,91,1);
  border-width: 2px; 
}
.uncheckBtn:hover {
  background-color: #4f91cd ;
  color: white;
}

.uncheckBtn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.uncheckBtn:disabled:hover{
  background-color: inherit;
  opacity: 0.5;
  color:  rgba(0,45,91,1);


}

.regularBtn {
  padding: 6px 15px;
  background-color: inherit;
  border: none;
  transition: 0.2s;
  font-weight: 700;
  font-size: 125%;
  color:  rgba(0,45,91,1);
}

.regularBtn:hover {
  background-color: #4f91cd ;
  color: white;
}

.regularBtn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.regularBtn:disabled:hover{
  background-color: inherit;
  opacity: 0.5;
  color:  rgba(0,45,91,1);


}

.helptext {
  display: block;
  color: grey;
  font-size: 15;
  margin: 0 auto;
  margin-bottom: 5px;
  margin-top: 5px;
  padding-left: 15px;
  
}


input[type=text], input[type=number], input[type=password], input[type=email], select  {
  padding: 5px;
  border: 1px solid #112045;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
}

.spekfield, .spekchoices {
  width: 100%;
}

input[type=submit], .registerBtn{

    padding: 6px 15px;
    background-color: inherit;
    border: none;
    transition: 0.2s;
    font-weight: 700;
    font-size: 125%;
    color:  rgba(0,45,91,1);

}

input[type=submit]:hover, .registerBtn:hover {
  background-color: #4f91cd ;
  color: white;
}

.sfiContainer  ol, .sfiContainer  ul {
  margin: 0;

}

.contentContainer  ol, .contentContainer  ul {
  margin:0;
  padding:0;
}

/*  Editing style   */


/* Style the tab */
.tab {
    overflow: hidden;
    /* border: 1px solid #ccc; */
    /* background-color: #f1f1f1; */
    border-radius: 5px;
    margin-bottom: 5px;
  }
  
  /* Style the buttons that are used to open the tab content */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    border-right: 1px solid grey;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
      justify-content: center;
    display: none;
    padding: 6px 12px;
  }


.noRightBorder {
    border-right: none!important;
}


@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
    max-width:2000px;
  }
}

.changeModuleModalContent {
  height: 90vh;
  overflow: hidden;
}

.changeModuleModalHeader {
  width: 100%;
  /* position: fixed; */
}

.changeModuleModalBody {
  overflow:hidden;
}

.changeModuleModalCurrentContainer{
  overflow-y: scroll;

}

.ChangeModuleSimilarModules {
  overflow-y: scroll;
}


.changeModuleModalFooter {
  max-height: 90vh;
  overflow-y: scroll;
}


.chevron::before {
	border-style: solid;
	border-width: 0.1em 0.1em 0 0;
	content: '';
	display: inline-block;
	height: 0.45em;
	left: 0.15em;
	position: relative;
	top: 1em;
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.45em;
}

.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}


.col-lg-5 {
  border-radius: 5px;
} 

.star {
  visibility:hidden;
  font-size:25px;
  cursor:pointer;
  padding: 5px;
  margin-left:10px;

}
.star:before {
 content: "\2606";
 color:rgb(8, 87, 166);
 position: inherit;
 visibility:visible;
 overflow:hidden;
 bottom:10px;

}
.star:checked:before {
 content: "\2605";
 color:rgb(8, 87, 166);
 position: inherit;
 overflow: hidden;
 bottom:10px;

}

.checkboxStar {
  display:flex;
  justify-content: left;
  padding:5px;
  margin: 0;
  
}

.checkboxDone {
  display:flex;
  justify-content: center;
  padding:5px;

}

.checkboxFlag {
  display:flex;
  justify-content: center;
}

.done{
  /* accent-color:green; */
  display: inline-flex;
  cursor: pointer;
  position: relative;
  justify-content: center;
}

.bi-check2{
  color:rgb(8, 87, 166);
}

.bi-check2::before {
  position: absolute;
  padding-top: 2px;
  padding-left: 1px;
}

.done > span {
  color: rgb(8, 87, 166);
  padding: 0.5rem 0.25rem;
}

.done > input {
  height: 20px;
  width: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: 1px solid rgb(8, 87, 166);
  border-radius: 4px;
  outline: none;
  transition-duration: 0.3s;
  background-color: #f3f6f5;
  cursor: pointer;
}

.done > input:checked {
  border: 1px solid #41B883;
  background-color: #41B883;
}

.done > input:checked + span::before {
  content: '\2713';
  display: block;
  text-align: center;
  position: absolute;
  left: 0.7rem;
  top: 0.2rem;
}

.done > input:active {
  border: 2px solid rgb(8, 87, 166);
}



.bi-flag-fill::before { 
  content: "\f3cb"; 
  color:red;
}
.bi-flag::before { 
  content: "\f3cc"; 
  color:rgb(8, 87, 166);
}

body.dragging, body.dragging * {
  cursor: grabbing !important;
}

.dragged {
  cursor: grab;
  position: absolute;
  /* transform: translateX(-9%); */
  transform: translate3d(-9%, -50%,0);
  -ms-transform: translate3d(-9%, -50%,0);
  /* transform: translateY(-10%); */
  opacity: 0.5;
  z-index: 2000;
}

ol.serialization li.placeholder {
  position: relative;
  /** More li styles **/
}
ol.serialization li.placeholder:before {
  position: absolute;
  /** Define arrowhead **/
}

.editContent {
  margin-bottom: 20px;
  cursor: grab;
}




.buildSpek > * {
  color: rgb(136, 0, 136);
}

.salgsSpek > * {
  color: rgb(217, 116, 38);
}

/** BOOTSTRAP - fix **/
hr {
  border: 0;
  clear:both;
  display:block;
  width: 40%;               
  background-color:#00000062;
  height: 1px;
}

.ui-dialog {
  z-index: 10000 !important;
  width: fit-content !important;
}

.ui-dialog-titlebar {
  background: #ffffff !important;
  border : none !important;
  border-radius: 0px !important;
  border-bottom: 1px solid gray!important;
}

.popover {
  min-width:15%;
  max-width: 25%;
}

.popover-header {
  background-color: white;
}

.diff_0{
  color: #112045;
  font-size: 1rem;
}

.diff_1{
  color: green;
  font-size: 1rem;
}
.diff_-1 {
  font-size: 1rem;
  color: red;
}

.modulerow{
  padding: 0;
  margin-top: 5px;
}

.modulerow p {
  margin-top:10px;
  margin-bottom: 10px;
}

.draggableRow {
  cursor: grab;
  animation: shake 1s;
  animation-iteration-count: infinite;
  border: 1px dashed rgba(158, 158, 158, 0.747);
  border-radius: 5px;
}
.draggableRow2 {
  cursor: grab;
  animation: shake2 1s;
  animation-iteration-count: infinite;
  border: 1px dashed rgba(158, 158, 158, 0.747);
  border-radius: 5px;
}
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -1px) rotate(0deg); }
  20% { transform: translate(-1px, 0px) rotate(0deg); }
  30% { transform: translate(1px, 1px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(0deg); }
  50% { transform: translate(-1px, 1px) rotate(0deg); }
  60% { transform: translate(-1px, 1px) rotate(0deg); }
  70% { transform: translate(1px, 1px) rotate(0deg); }
  80% { transform: translate(-1px, -1px) rotate(0deg); }
  90% { transform: translate(1px, 1px) rotate(0deg); }
  100% { transform: translate(1px, -1px) rotate(0deg); }
}

@keyframes shake2 {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, 0px) rotate(0deg); }
  20% { transform: translate(1px, 1px) rotate(0deg); }
  30% { transform: translate(-1px, -1px) rotate(0deg); }
  40% { transform: translate(1px, 1px) rotate(0deg); }
  50% { transform: translate(1px, -1px) rotate(0deg); }
  600% { transform: translate(1px, -1px) rotate(0deg); }
  70% { transform: translate(-1px, 1px) rotate(0deg); }
  80% { transform: translate(-1px, 1px) rotate(0deg); }
  90% { transform: translate(-1px, -1px) rotate(0deg); }
  100% { transform: translate(1px, 1px) rotate(0deg); }
}


.ui-sortable-helper{
  cursor: grabbing;
}


.tagify{
  margin-left: 20px!important;
  line-height: 1em!important;
  /* flex-wrap: inherit !important; */
  /* overflow: scroll!important; */
  font-size: 0.8em;
  --tag-inset-shadow-size: 2em!important;
}

.tagify__input{
  /* padding:0!important; */
}

.tagify__tag{
  line-height: 1em!important;
}

.tagify__tag-text{
  padding:3px;
}


.tags-look .tagify__dropdown__item{
  display: inline-block;
  border-radius: 3px;
  padding: .3em .5em;
  border: 1px solid #CCC;
  background: #F3F3F3;
  margin: .2em;
  font-size: .85em;
  color: black;
  transition: 0s;
}

.tags-look .tagify__dropdown__item--active{
  color: black;
}

.tags-look .tagify__dropdown__item:hover{
  background: lightyellow;
  border-color: gold
}

.mce-content-body .pointerSpan {
  background-color: grey !important;
}